@import '../../../app/mixins.css';

.wrapper {
  margin-bottom: 40px;
  overflow: initial;

  & header {
    justify-content: space-between;
  }

  & .filterHolder {
    width: 200px;
  }

  & .lastHeading {
    & :global(.tooltip-window) {
      left: auto;
      right: -12px;
      transform: translateX(0);

      & :global(.tooltip-arrow) {
        right: 16px;
        left: auto;
      }
    }
  }
}

.empty {
  @mixin contentSmall;

  align-items: center;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  text-align: center;
  color: var(--color-slate-gray);
}

.results {
  border-radius: 0 0 var(--border-radius-box) var(--border-radius-box);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin: 0;
  min-height: 600px;
  overflow: hidden;
  position: relative;

  & .votes {
    @mixin contentNormal bold;
  }
}

.info {
  display: flex;

  & > .avatar {
    margin-right: 24px;
  }

  & > .accountInfo {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  & .title {
    @mixin headingSmall;

    color: var(--color-maastricht-blue);
    display: block;
  }
}

@media (--small-viewport) {
  .info {
    & > .avatar {
      display: none;
    }
  }
}
